\hypertarget{classremove_buddy}{
\section{remove\-Buddy \-Class \-Reference}
\label{classremove_buddy}\index{remove\-Buddy@{remove\-Buddy}}
}


\-The \hyperlink{classremove_buddy}{remove\-Buddy} helper methods.  




{\ttfamily \#include $<$removebuddy.\-h$>$}

\subsection*{\-Signals}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classremove_buddy_a36a0af4be7298f27b4b83bcef6dc081c}{send\-Remove\-Friend\-Request} (\-Q\-String person\-To\-Remove)
\begin{DoxyCompactList}\small\item\em \-Signal that sends out the remove friend to the server. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classremove_buddy_a85a60dae156a2b3188fc9139ab162922}{
\hyperlink{classremove_buddy_a85a60dae156a2b3188fc9139ab162922}{remove\-Buddy} (\-Q\-Widget $\ast$parent, \-Q\-String person\-Sending\-Remove\-Request)}
\label{classremove_buddy_a85a60dae156a2b3188fc9139ab162922}

\begin{DoxyCompactList}\small\item\em \-Constructor for \hyperlink{classremove_buddy}{remove\-Buddy}. \end{DoxyCompactList}\item 
\hypertarget{classremove_buddy_ac2252b4b9a56b8f5af2c1c83d63d3bca}{
\hyperlink{classremove_buddy_ac2252b4b9a56b8f5af2c1c83d63d3bca}{$\sim$remove\-Buddy} ()}
\label{classremove_buddy_ac2252b4b9a56b8f5af2c1c83d63d3bca}

\begin{DoxyCompactList}\small\item\em \-Deconstructor for \hyperlink{classremove_buddy}{remove\-Buddy}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Private \-Slots}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classremove_buddy_ad392d370ba5febf72ee26e489d316901}{handle\-Incoming\-Is\-Valid\-Remove\-Friend\-Request} (\-Q\-String, bool)
\begin{DoxyCompactList}\small\item\em \-Slot that takes in a valid friend removal request. \end{DoxyCompactList}\item 
\hypertarget{classremove_buddy_a208d302f4296b4cafc85cd08174cf0d1}{
void \hyperlink{classremove_buddy_a208d302f4296b4cafc85cd08174cf0d1}{on\-\_\-remove\-Button\-\_\-clicked} ()}
\label{classremove_buddy_a208d302f4296b4cafc85cd08174cf0d1}

\begin{DoxyCompactList}\small\item\em \-Slot that determines if the user clicks the remove button. \end{DoxyCompactList}\item 
\hypertarget{classremove_buddy_a03188cf07362b80e45244bc30ec14abd}{
void \hyperlink{classremove_buddy_a03188cf07362b80e45244bc30ec14abd}{on\-\_\-cancel\-Button\-\_\-clicked} ()}
\label{classremove_buddy_a03188cf07362b80e45244bc30ec14abd}

\begin{DoxyCompactList}\small\item\em \-Slot that determines if the user clicks the cancel button. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Private \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classremove_buddy_a1fdce78b99c53c3a43ef65afd949f948}{display\-Message} (\-Q\-String msg\-To\-Display)
\begin{DoxyCompactList}\small\item\em \-Method that displays the user options to remove a buddy. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Private \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classremove_buddy_a3fcc06e2754b1571b0a662f2f52a21ea}{
\-Q\-String \hyperlink{classremove_buddy_a3fcc06e2754b1571b0a662f2f52a21ea}{person\-Sending\-Request}}
\label{classremove_buddy_a3fcc06e2754b1571b0a662f2f52a21ea}

\begin{DoxyCompactList}\small\item\em variable to determine the person sending a request \end{DoxyCompactList}\item 
\hypertarget{classremove_buddy_a2abc303952374150643378c9b0d63554}{
\-Ui\-::remove\-Buddy $\ast$ {\bfseries ui}}
\label{classremove_buddy_a2abc303952374150643378c9b0d63554}

\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-The \hyperlink{classremove_buddy}{remove\-Buddy} helper methods. 

\subsection{\-Member \-Function \-Documentation}
\hypertarget{classremove_buddy_a1fdce78b99c53c3a43ef65afd949f948}{
\index{remove\-Buddy@{remove\-Buddy}!display\-Message@{display\-Message}}
\index{display\-Message@{display\-Message}!removeBuddy@{remove\-Buddy}}
\subsubsection[{display\-Message}]{\setlength{\rightskip}{0pt plus 5cm}void remove\-Buddy\-::display\-Message (
\begin{DoxyParamCaption}
\item[{\-Q\-String}]{msg\-To\-Display}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classremove_buddy_a1fdce78b99c53c3a43ef65afd949f948}


\-Method that displays the user options to remove a buddy. 


\begin{DoxyParams}{\-Parameters}
{\em msg\-To\-Displat} & \-The message to display the user requesting a buddy removal \\
\hline
\end{DoxyParams}
\hypertarget{classremove_buddy_ad392d370ba5febf72ee26e489d316901}{
\index{remove\-Buddy@{remove\-Buddy}!handle\-Incoming\-Is\-Valid\-Remove\-Friend\-Request@{handle\-Incoming\-Is\-Valid\-Remove\-Friend\-Request}}
\index{handle\-Incoming\-Is\-Valid\-Remove\-Friend\-Request@{handle\-Incoming\-Is\-Valid\-Remove\-Friend\-Request}!removeBuddy@{remove\-Buddy}}
\subsubsection[{handle\-Incoming\-Is\-Valid\-Remove\-Friend\-Request}]{\setlength{\rightskip}{0pt plus 5cm}void remove\-Buddy\-::handle\-Incoming\-Is\-Valid\-Remove\-Friend\-Request (
\begin{DoxyParamCaption}
\item[{\-Q\-String}]{person\-To\-Remove, }
\item[{bool}]{is\-Valid}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{classremove_buddy_ad392d370ba5febf72ee26e489d316901}


\-Slot that takes in a valid friend removal request. 


\begin{DoxyParams}{\-Parameters}
{\em person\-To\-Remove} & \-The username of the person to remove from friends \\
\hline
{\em is\-Valid} & \-A boolean value to make sure a valid removal is happening \\
\hline
\end{DoxyParams}
\hypertarget{classremove_buddy_a36a0af4be7298f27b4b83bcef6dc081c}{
\index{remove\-Buddy@{remove\-Buddy}!send\-Remove\-Friend\-Request@{send\-Remove\-Friend\-Request}}
\index{send\-Remove\-Friend\-Request@{send\-Remove\-Friend\-Request}!removeBuddy@{remove\-Buddy}}
\subsubsection[{send\-Remove\-Friend\-Request}]{\setlength{\rightskip}{0pt plus 5cm}void remove\-Buddy\-::send\-Remove\-Friend\-Request (
\begin{DoxyParamCaption}
\item[{\-Q\-String}]{person\-To\-Remove}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}signal\mbox{]}}}}
\label{classremove_buddy_a36a0af4be7298f27b4b83bcef6dc081c}


\-Signal that sends out the remove friend to the server. 


\begin{DoxyParams}{\-Parameters}
{\em person\-To\-Remove} & \-The username of the person to remove from friends \\
\hline
\end{DoxyParams}


\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
/\-Users/plamontagna/\-Documents/spa-\/cs340project/im\-\_\-client\-\_\-v2/\hyperlink{removebuddy_8h}{removebuddy.\-h}\item 
/\-Users/plamontagna/\-Documents/spa-\/cs340project/im\-\_\-client\-\_\-v2/\hyperlink{removebuddy_8cpp}{removebuddy.\-cpp}\end{DoxyCompactItemize}
